projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deea79f
)
x11: Simplify XI2 mods state
author
Bastien Nocera
<hadess@hadess.net>
Wed, 29 Feb 2012 16:18:57 +0000
(16:18 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 4 Mar 2012 06:12:06 +0000
(
01:12
-0500)
https://bugzilla.gnome.org/show_bug.cgi?id=671070
gdk/x11/gdkdevice-xi2.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdevice-xi2.c
b/gdk/x11/gdkdevice-xi2.c
index 80aa0b0d74369a7933c25dd98950b7f2f2c42218..6e496261ebbe6ca3792dfb5e630b3e6c79950ea2 100644
(file)
--- a/
gdk/x11/gdkdevice-xi2.c
+++ b/
gdk/x11/gdkdevice-xi2.c
@@
-745,7
+745,7
@@
_gdk_x11_device_xi2_translate_state (XIModifierState *mods_state,
guint state = 0;
if (mods_state)
- state =
(guint) mods_state->base | mods_state->latched | mods_state->locked
;
+ state =
mods_state->effective
;
if (buttons_state)
{